package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.Setmeal;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author zhouwei
 * @date 2020-01-02 11:23
 */
public interface SetmealDao {
    public Page<CheckGroup> findPage(QueryPageBean queryPageBean);

    List<CheckGroup> findCheckGroup();

    void addSetmeal(Setmeal setmeal);

    void addSetmealcheckgroup(HashMap<String, Integer> map);

    List<Setmeal> findAll();

    Setmeal findById(int id);

    List<Map<String, Object>> findCount();
}
